home *** CD-ROM | disk | FTP | other *** search
- #define GN_NEXT 0x01
- #define GN_PREV 0x02
- #define GN_LAST 0x03
- #define GN_FIRST 0x04
-
-
- struct Node { struct Node *PrevNode;
- struct Node *NextNode;
- int Item;
- };
-
- struct NodeHead { struct Node *FirstNode;
- struct Node *LastNode;
- int count;
- };
-
- typedef struct NodeHead NODEHEAD;
-
- int GetNode ( struct NodeHead *, int, int);
- int DeleteNode ( struct NodeHead *, int);
- int DeleteNodeList ( struct NodeHead *);
- int AddNode (struct NodeHead *, int);
- struct Node *FindNode ( struct NodeHead *, int);
-